.class public Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;
.super Landroid/view/GestureDetector$SimpleOnGestureListener;
.source "ViewImage21.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x4
    name = "h0"
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;


# direct methods
.method protected constructor <init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-direct {p0}, Landroid/view/GestureDetector$SimpleOnGestureListener;-><init>()V

    return-void
.end method


# virtual methods
.method public onDoubleTap(Landroid/view/MotionEvent;)Z
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-boolean v1, v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->f:Z

    const/4 v2, 0x0

    if-eqz v1, :cond_0

    return v2

    .line 2
    :cond_0
    iget-object v1, v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-static {v0, v1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)Z

    move-result v0

    const/4 v1, 0x1

    if-eqz v0, :cond_1

    .line 3
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-object v0, p1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-static {p1, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->b(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)V

    return v1

    .line 4
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-object v3, v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->M:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-static {v0, v3}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-object v0, p1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->M:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-static {p1, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->b(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)V

    return v1

    .line 6
    :cond_2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->p:Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;

    if-nez v0, :cond_3

    return v2

    .line 7
    :cond_3
    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;->getMaxZoom()F

    move-result v2

    const/high16 v3, 0x3f800000    # 1.0f

    cmpg-float v2, v2, v3

    if-gez v2, :cond_4

    return v1

    .line 8
    :cond_4
    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/imageviewer/e;->getScale()F

    move-result v0

    cmpl-float v0, v0, v3

    if-lez v0, :cond_5

    .line 9
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-object p1, p1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->p:Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;

    invoke-virtual {p1, v3}, Lcom/estrongs/android/pop/app/imageviewer/e;->a(F)V

    goto :goto_0

    .line 10
    :cond_5
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->p:Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;

    const/high16 v2, 0x40400000    # 3.0f

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v3

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result p1

    invoke-virtual {v0, v2, v3, p1}, Lcom/estrongs/android/pop/app/imageviewer/e;->b(FFF)V

    :goto_0
    return v1
.end method

.method public onScroll(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z
    .locals 2

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-boolean p2, p1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->f:Z

    if-eqz p2, :cond_0

    const/4 p1, 0x0

    return p1

    .line 2
    :cond_0
    iget-object p2, p1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-static {p1, p2}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)Z

    move-result p1

    const/4 p2, 0x1

    if-eqz p1, :cond_1

    .line 3
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-object p3, p1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-static {p1, p3}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->b(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)V

    return p2

    .line 4
    :cond_1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-object v0, p1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->M:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-static {p1, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)Z

    move-result p1

    if-eqz p1, :cond_2

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-object p3, p1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->M:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-static {p1, p3}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->b(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)V

    return p2

    .line 6
    :cond_2
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-object p1, p1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->p:Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;

    if-eqz p1, :cond_3

    .line 7
    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/imageviewer/e;->getScale()F

    move-result v0

    const/high16 v1, 0x3f800000    # 1.0f

    cmpl-float v0, v0, v1

    if-lez v0, :cond_3

    neg-float p3, p3

    neg-float p4, p4

    .line 8
    invoke-virtual {p1, p3, p4}, Lcom/estrongs/android/pop/app/imageviewer/ImageViewTouch;->c(FF)V

    :cond_3
    return p2
.end method

.method public onSingleTapConfirmed(Landroid/view/MotionEvent;)Z
    .locals 2

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-boolean v0, p1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->f:Z

    if-eqz v0, :cond_0

    const/4 p1, 0x0

    return p1

    .line 2
    :cond_0
    iget-object v0, p1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-static {p1, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)Z

    move-result p1

    const/4 v0, 0x1

    if-eqz p1, :cond_1

    .line 3
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-object v1, p1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-static {p1, v1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->b(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)V

    return v0

    .line 4
    :cond_1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-object v1, p1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->M:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-static {p1, v1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)Z

    move-result p1

    if-eqz p1, :cond_2

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-object v1, p1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->M:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-static {p1, v1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->b(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)V

    return v0

    .line 6
    :cond_2
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->t(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Z

    move-result p1

    if-eqz p1, :cond_3

    .line 7
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->l(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    goto :goto_1

    .line 8
    :cond_3
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->u(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)I

    move-result p1

    const/4 v1, 0x2

    if-ne p1, v1, :cond_4

    .line 9
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->E()V

    goto :goto_0

    .line 10
    :cond_4
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->v(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    .line 11
    :goto_0
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->C()V

    :goto_1
    return v0
.end method

.method public onSingleTapUp(Landroid/view/MotionEvent;)Z
    .locals 0

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$h0;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-boolean p1, p1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->f:Z

    if-eqz p1, :cond_0

    const/4 p1, 0x0

    return p1

    :cond_0
    const/4 p1, 0x1

    return p1
.end method
